package com.ruoyi.exam.mapper;

import com.ruoyi.exam.domain.PQuestionTypeEntity;
import com.ruoyi.exam.domain.PQuestionTypeEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PQuestionTypeEntityMapper {
    long countByExample(PQuestionTypeEntityExample example);

    int deleteByExample(PQuestionTypeEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(@Param("name")String name,@Param("type")Integer type);

    int insertSelective(PQuestionTypeEntity record);

    List<PQuestionTypeEntity> selectByExample(PQuestionTypeEntityExample example);

    PQuestionTypeEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PQuestionTypeEntity record, @Param("example") PQuestionTypeEntityExample example);

    int updateByExample(@Param("record") PQuestionTypeEntity record, @Param("example") PQuestionTypeEntityExample example);

    int updateByPrimaryKeySelective(PQuestionTypeEntity record);

    int updateByPrimaryKey(PQuestionTypeEntity record);

  List<PQuestionTypeEntity> selectAll();
}
